package close.mazegame.entity.effect;

import close.mazegame.art.EffectTextures;
import close.mazegame.level.Level;

import com.badlogic.gdx.math.Interpolation;
import com.badlogic.gdx.math.Vector2;

public class SmokePuff extends Effect {
	
	public static float STARTSIZE = 0.1f;
	public static float ENDSIZE = 0.3f;

	public SmokePuff(Vector2 position, Level level) {
		super(position, level, EffectTextures.smoke_puff, 0.3f, false);
	}

	@Override
	public float getXSize() {
		return Interpolation.linear.apply(STARTSIZE, ENDSIZE, getAnimationFraction());
	}

	@Override
	public float getYSize() {
		return getXSize();
	}

	@Override
	public void dispose() {
	}

}
